// 注册登录
import http from '../utils/request'

export const login = (data) => {
  return http({
    method: 'post',
    url: '/login',
    data
  })
}

export const reg = (data) => {
  return http({
    method: 'post',
    url: '/reg',
    data
  })
}
